package ioperations;
import book.Book;
import book.bookList;

public class ShowOperation implements IOperation {
    public void work(bookList BookList) {
        System.out.println("显示图书......");
        int useSize = BookList.getUsesize();
        for (int i = 0; i < useSize; i++) {
            Book book = BookList.getBook(i);
            System.out.println(book);
        }
    }
}
